package com.jiezhuo.config;

import com.digitalpetri.modbus.master.ModbusTcpMaster;
import com.jiezhuo.entity.IotNodeInfo;
import com.jiezhuo.service.IotNodeInfoService;
import lombok.Data;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.util.HashMap;

@ToString
@Data
@Configuration
public class ModbusConfig {
    @Autowired
    static IotNodeInfoService iotNodeInfoService;

 public static HashMap<String,ModbusTcpMaster>  modbusTcpMap = new HashMap<>();
 static {


//     modbusTcpMap.put();
 }
}
